package com.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: EmailContacts
 * @Author: ARongzhe
 * @Date: 2022/04/30 18:37:46
 * @Description: 邮件联系人
 */
@Data
@EqualsAndHashCode()
@TableName("t_email_contacts")
public class EmailContacts {
    @ApiModelProperty(value = "使用UUID作为唯一标识")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @ApiModelProperty(value = "备注")
    @TableField(value = "remark_name", fill = FieldFill.INSERT)
    private String remarkName;
    @ApiModelProperty(value = "邮箱")
    @TableField(value = "mail_to", fill = FieldFill.INSERT)
    private String mailTo;
    @ApiModelProperty(value = "描述")
    @TableField(value = "description", fill = FieldFill.INSERT)
    private String description;
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private String createTime;
    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private String updateTime;
    @ApiModelProperty(value = "创建人")
    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private String create_by;
    @ApiModelProperty(value = "更新人")
    @TableField(value = "update_by", fill = FieldFill.INSERT)
    private String update_by;
    @TableField(value="phone",fill = FieldFill.INSERT)
    private String phone;
}
